package com.mrlv.ht.mapper;

import com.mrlv.ht.pojo.User;
import com.mrlv.ht.pojo.UserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
	
	//查询
	List<User> findAllUser();
	User findModule(String username);
	int deleteBatch(String[] userId);
	int deleteUserBatch(String[] userId);
	int updateBatch1(String[] userId);
	int updateBatch0(String[] userId);
	
    int countByExample(UserExample example);

    int deleteByExample(UserExample example);

    int deleteByPrimaryKey(String userId);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    User selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);

    int updateByExample(@Param("record") User record, @Param("example") UserExample example);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}